home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Complete Work of Mahatma Gandhi
/
The Complete Work of Mahatma Gandhi-CD interactive.iso
/
mac
/
Ganmac
/
eb.cst
/
00145_Script_145
< prev
next >
Wrap
Text File
|
1999-09-22
|
2KB
|
72 lines
on beginNewMovie
global newWindow
set newWindow to window "gloss"
set the rect of newWindow to rect(0,290,560,131)
set the fileName of newWindow to "gloss"
set the titlevisible of newWindow to false
open newWindow
end beginNewMovie
on endNewMovie
global gloson, glossp
set yy to the name of member the memberNum of sprite glossp
if chars(yy,1,1) = "r" then
set the memberNum of sprite glossp to the number of member chars(yy,2,6)
end if
forget window "11map"
forget window "13map"
forget window "18map"
forget window "19map"
forget window "27map"
forget window "38map"
forget window "53map"
forget window "65map"
forget window "89map"
forget window "96map"
forget window "147map"
forget window "160map"
forget window "164map"
forget window "208map"
forget window "255map"
forget window "299map"
forget window "313map"
forget window "gloss"
set gloson to 0
end endNewMovie
on checkfromAV
-- global gname, gmain, avloop, avjump
-- set xx to chars(gname,1,2)
-- if (xx = "AV") and (avjump = 0) then
-- set the visible of sprite 105 to true
-- set avjump to 1
-- else
-- set the visible of sprite 105 to false
-- set gname to the movieName
-- set gmain to the moviePath
-- end if
end checkfromAV
on checkVol wgrp
global gvolume
if gvolume = 0 then
set the member of sprite 106 to the number of member ("r"&wgrp&"vol0")
set the volume of sound 2 to 0
set the volume of sound 1 to 0
set the soundLevel = 0
else if gvolume = 150 then
set the member of sprite 107 to the number of member ("r"&wgrp&"volm")
set the volume of sound 1 to 150
set the volume of sound 2 to 150
set the soundLevel = 3
else
set the member of sprite 108 to the number of member ("r"&wgrp&"voll")
set the volume of sound 1 to 255
set the volume of sound 2 to 255
set the soundLevel = 7
end if
updateStage
end checkVol